﻿<Window
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:sys="clr-namespace:System;assembly=mscorlib" 
        xmlns:local="clr-namespace:TinyDeduplicator" x:Class="TinyDeduplicator.OptionsWindow"
        Title="Options" Height="170" Width="227" WindowStyle="ToolWindow" ResizeMode="NoResize">
    <Grid x:Name="grid" HorizontalAlignment="Left" Width="217" DataContext="{Binding options}">
        <CheckBox x:Name="cbxRemoveEmptyParents" Content="Remove Empty Parent Directories" HorizontalAlignment="Left" Margin="10,41,0,0" VerticalAlignment="Top" IsChecked="{Binding removeEmptyParents}"/>
        <CheckBox x:Name="cbxPromptForDeletion" Content="Prompt For Deletion" HorizontalAlignment="Left" Margin="10,62,0,0" VerticalAlignment="Top" IsChecked="{Binding promptForDeletion}"/>
        <Label Content="Selection Strategy:" HorizontalAlignment="Left" Margin="10,10,0,0" VerticalAlignment="Top" RenderTransformOrigin="0.806,0.5" Padding="0,5,5,5"/>
        <ComboBox x:Name="cblSelectionStrategy" HorizontalAlignment="Left" Margin="118,12,0,0" VerticalAlignment="Top" Width="86">
            <ListBoxItem Content="None"/>
            <ListBoxItem Content="Keep First"/>
            <ListBoxItem Content="Keep Last"/>
        </ComboBox>
        <Button Content="Cancel" HorizontalAlignment="Left" Margin="129,105,0,0" VerticalAlignment="Top" Width="75" IsCancel="True"/>
        <Button x:Name="btnOK" Content="OK" HorizontalAlignment="Left" Margin="10,105,0,0" VerticalAlignment="Top" Width="75" IsDefault="True" Click="btnOK_Click"/>
    </Grid>
</Window>
